package month4.day5.xingzuang;

public class Paint {
    private String type;//画图工具类型
    private int money;

    public void draw(){
        System.out.println("用"+type+"画各种图型");
    }


    public Paint(String type, int money) {
        this.type = type;
        this.money = money;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
